package com.imeth.cms.service;

import com.imeth.base.model.Paging;
import com.imeth.cms.Fragment;

import java.util.List;

/**
 * Created by peter on 12/24/2015.
 */
public interface FragmentService {

    int save(Fragment fragment);

    int update(Fragment fragment);

    Fragment getById(Integer id);

    List<Fragment> query(Paging paging);

    int batchDelete(List<Integer> ids);
}
